import api from "api/api";
const {product} = api;
export default {
    state:{
        baseCategoryList:[]
    },
    getters:{},
    mutations:{
        getBaseCategoryList(state,baseCategoryList){
            state.baseCategoryList = baseCategoryList;

        }
    },
    actions:{
        async getBaseCategoryList({commit}){
            const {data} = await product.getBaseCategoryList();

            commit("getBaseCategoryList",data)
            return data
        }
    }
}